package xin.nick.util.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author Nick
 * @since 2023/4/4
 */
@Data
public class AccessTokenResponse {
    /**
     * {
     *     "access_token": "8883405e6c14856a1e2b3c4e2d2f2666",
     *     "refresh_token": "6663211fda1a41f5a1c1fa320d819aaa",
     *     "team": "anywhere",
     *     "expires_in": "780260",
     *     "token_type":"bearer"
     * }
     */

    @JsonProperty("access_token")
    private String accessToken;

    @JsonProperty("refresh_token")
    private String refreshToken;

    @JsonProperty("team")
    private String team;

    @JsonProperty("expires_in")
    private String expiresIn;

    @JsonProperty("token_type")
    private String tokenType;
}
